package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.BrandVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author peichen
 * @email peichen@gmail.com
 * @date 2024-09-23 09:03:54
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

 
    PageUtils queryPage(Map<String, Object> params);

    List<CategoryBrandRelationEntity> CatelogList(Long brandId);

    void saveCategoryBrandRelat(CategoryBrandRelationEntity categoryBrandRelation);

    void updateBrand(Long brandId, String name);

    void updateCategory(Long catId, String name);

    List<BrandVo> BrandList(Long catId);
}

